package com.pipline1;

/**
 * @author ycd0075
 * @date 2023-07-11 10:27
 */
public class DefaultPipline implements CalProcessPipeline {
    @Override
    public ExecuteResult execute(CalculateModel calculateModel) {

        template1();

        return null;
    }

    @Override
    public void step1() {
        System.out.println("");
    }

    @Override
    public void step2() {
        System.out.println("");
    }


    @Override
    public void step3() {
        System.out.println("");
    }

    public void template1(){
        step1();


        step2();


        step3();
    }
}
